package com.zy.pay.api;

import com.zy.pay.api.request.ZyPayRequest;
import com.zy.pay.api.response.ZyPayResponse;

/**
 * 聚合支付客户端类
 *
 * @author panweiqiang <br>
 * @date 2020/7/7 9:07 <br>
 */
public interface ZyPayClient {

    /**
     * 执行请求
     * 
     * @param request 请求参数
     * @return ZyPayResponse
     */
    <T extends ZyPayResponse> T execute(ZyPayRequest<T> request);
}
